<ion-header>
  <ion-toolbar>
    <ion-title>
      设置个人头像
    </ion-title>
    <ion-buttons>
      <button ion-button (click)="dismiss()">关闭</button>
    </ion-buttons>
  </ion-toolbar>
</ion-header>

<ion-content padding text-center>
  <img [src]="userInfo.avatarPath" width="100%">
  <div padding-top>
    <button ion-button block color="light" (click)="getPicture(0)">从相册选一张</button>
  </div>
  <div padding-top>
    <button ion-button block color="light" (click)="getPicture(1)">拍一张照片</button>
  </div>
  <div padding-top>
    <button ion-button block color="light" (click)="getPicture(2)">不裁剪</button>
  </div>
</ion-content>
